Skip to content

revert(ci): run the Android smoke lane on four vCPU again - #4712

Closed
thymikee wants to merge 1 commit into
mainfrom
ci/android-smoke-back-to-4vcpu
Closed

thymikee wants to merge 1 commit into
mainfrom
ci/android-smoke-back-to-4vcpu

Conversation

@thymikee

@thymikee thymikee commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Reverts #4678 by returning the Android Smoke Tests job to blacksmith-4vcpu-ubuntu-2404. The workflow change touches one file. In the sampled runs, reverting trades about one minute of median job time for an estimated 37% lower cost per median-duration job.

Runner Successful jobs Job time range Median Estimated cost at median
4 vCPU before #4678 6 205–443 s 283 s $0.038
8 vCPU after #4678 9 195–332 s 223 s $0.059

Measured from the Actions API job start and completion timestamps for the six most recent successful Android workflows on main before #4678 and the first nine after it, through Nov 18 at 17:26 UTC. Costs use the rates in #4678 ($0.008/min and $0.016/min). The 8 vCPU median was 60 s (21%) lower. This before-and-after sample cannot isolate the effect of runner size. The three slowest 8 vCPU jobs were the three latest in the sample, during the slowdown tracked in #4710.

Validation

Head c614d64 reverses 8a717c066b. The Android smoke job passed on 4 vCPU.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

Reverts #4678. Across 12 runs on eight vCPU the Smoke Tests job took
255-371 s (p50 ~333 s), against 261-470 s (p50 322 s) on four vCPU, so the
doubled per-minute rate bought no wall time. The three-sample win measured
on the PR did not hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.39 MB 6.39 MB 0 B
Package (unpacked) 6.39 MB 6.39 MB 0 B
Package (download) 1.94 MB 1.94 MB -6 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 25.9 ms 31.4 ms +5.5 ms
CLI --help 57.6 ms 57.6 ms -0.0 ms

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of c614d64

No open findings.

Reviewed with this repository's own Sentinel configuration (affb94c257ac).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

The change at c614d64 is an exact revert of the runner label, and all 18 checks pass. The timing claim doesn't match what I measured on main, though, so this needs a decision before the label.

These are the Android workflow Smoke Tests job times for successful runs on main over the last day, from the Actions API:

Runner Runs Job times (s) Median
4 vCPU (before #4678) 6 205, 243, 271, 295, 308, 443 ~283 s
8 vCPU (after #4678) 9 195, 198, 200, 214, 223, 238, 314, 321, 332 223 s

On this sample the 8 vCPU median is about 60 s (≈21%) lower, not unchanged. The three slowest 8 vCPU runs are the three most recent ones (17:02–17:26 today), which looks like the emulator slowdown tracked in #4710 rather than the runner size. So the question is whether about a minute off the Android smoke lane's median is worth roughly twice the cost of that one job. If the revert stays, please update the table and the summary to these numbers, or to a longer window, so the PR records the trade-off it is making.

@thymikee

Copy link
Copy Markdown
Member Author

Closing per maintainer decision: on main, 8 vCPU runs the Android smoke job about a minute (≈21%) faster at the median for roughly two cents more per run, so we keep it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant